package com.tang.config;

import org.springframework.util.StringUtils;

/**
 * 仅仅对yaml中的配置进行了拆分
 * 
 * @author fulin.tang
 * @version V1.0
 * @since 2021/8/9
 */
public class StarterService {

    private final String userStr;

    public StarterService(String userStr) {
        this.userStr = userStr;
    }
    
    public String[] split(String separatorChar) {
        return StringUtils.split(this.userStr, separatorChar);
    }

}
